package com.lh.createData.dao;

import com.lh.createData.model.InPutParam.UseTimeLenTempInParam;
import com.lh.createData.model.UseTimeLenTempGroupModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-07-27 18:03
 * @function
 * @editLog
 */
@Mapper
public interface UseTimeLenTempMapper {
    /**
     * 增加用户时长暂时表
     *
     * @param useTimeLenTempInParam com.lh.createData.model.InPutParam.UseTimeLenTempInParam
     * @return 影响条数
     */
    int deleteUseTimeLenTemp(UseTimeLenTempInParam useTimeLenTempInParam);
    /**
     * 增加用户时长暂时表
     *
     * @param useTimeLenTempInParam com.lh.createData.model.InPutParam.UseTimeLenTempInParam
     * @return 影响条数
     */
    int insertUseTimeLenTemp(UseTimeLenTempInParam useTimeLenTempInParam);

    /**
     * 增加用户时长暂时表
     *
     * @param batchId 批次号
     * @return 影响条数
     */
    List<UseTimeLenTempGroupModel> selectUseTimeLenTempGroupByBatchId(@Param("batchId") String batchId);

}